/**
 * @Author: 焦质晔
 * @Date: 2019/6/20
 * @Last Modified by: mikey.zhaopeng
 * @Last Modified time: 2019-10-22 11:47:33
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 查询(弃用)
export const queryVehicleTail = params => axios.get(`${SERVER.AUDI_CLAIM}/query/xfClaimStatus/queryVehicleTail`, { params });

// 行动车辆进站情况跟踪 查询_lsw
export const vehicleActionEntryTracking = params => axios.get(`${SERVER.AUDI_CLAIM}/query/xfClaimStatus/vehicleActionEntryTracking`, { params });

// 行动车辆进站情况跟踪 导出_lsw(弃用)
export const vehicleTrackingExport = params => axios.get(`${SERVER.AUDI_CLAIM}/query/xfClaimStatus/vehicleTrackingExport`, { params, responseType: 'blob' });

// 行动车辆进站情况跟踪 导出wjf
export const reportFormExport = params => axios.get(`${SERVER.DMSCLOUD_REPAIR}/customerCare/Servicekey/reportFormExport`, { params, responseType: 'arraybuffer' });

// 行动车辆进站情况跟踪主页查询
export const getList = params => axios.get(`${SERVER.DMSCLOUD_REPAIR}/customerCare/Servicekey/VehicleArrival`, { params });
